package com.xinghai.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinghai.system.domain.XhVehicleInfoApplyRecord;

import java.util.List;

/**
 * 用车申请实例任务Mapper接口
 * 
 * @author smy
 * @date 2024-07-25
 */
public interface XhVehicleInfoApplyRecordMapper extends BaseMapper<XhVehicleInfoApplyRecord>
{
    /**
     * 查询用车申请实例任务
     * 
     * @param id 用车申请实例任务主键
     * @return 用车申请实例任务
     */
    public XhVehicleInfoApplyRecord getInfo(Long id);

    /**
     * 查询用车申请实例任务列表
     * 
     * @param xhDriverInfoApplyRecord 用车申请实例任务
     * @return 用车申请实例任务集合
     */
    public List<XhVehicleInfoApplyRecord> list(XhVehicleInfoApplyRecord xhDriverInfoApplyRecord);

    /**
     * 新增用车申请实例任务
     *
     * @param xhDriverInfoApplyRecord 用车申请实例任务
     * @return 结果
     */
    public int insert(XhVehicleInfoApplyRecord xhDriverInfoApplyRecord);

    /**
     * 批量新增用车申请实例任务
     *
     * @param xhDriverInfoApplyRecordList 用车申请实例任务
     * @return 结果
     */
    public int insertBatch(List<XhVehicleInfoApplyRecord> xhDriverInfoApplyRecordList);

    /**
     * 修改用车申请实例任务
     * 
     * @param xhDriverInfoApplyRecord 用车申请实例任务
     * @return 结果
     */
    public int update(XhVehicleInfoApplyRecord xhDriverInfoApplyRecord);

    /**
     * 删除用车申请实例任务
     * 
     * @param id 用车申请实例任务主键
     * @return 结果
     */
    public int delete(Long id);

    /**
     * 批量删除用车申请实例任务
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBatch(Long[] ids);
}
